<include file="Public:header" />
<body>
<div class="wrapper wrapper-content">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                    <div class="panel blank-panel">
                        <div class="panel-heading">
                            <div class="panel-options">
                                <ul class="nav nav-tabs">
                                    <li class="active"><a href="{:U('index')}">路由列表</a>
                                    </li>
                                    <li class=""><a href="{:U('add')}">添加路由</a>
                                    </li>
                                </ul>
                            </div>
                        </div>
                        <div class="panel-body">
                        <!-- 路由列表 -->
                        <table class="table table-striped table-bordered table-hover dataTables-example">
                            <thead>
                            <tr>
                                <th>排序</th>
                                <th>完整地址</th>
                                <th>实际地址</th>
                                <th>状态</th>
                                <th>操作</th>
                            </tr>
                            </thead>
                            <tbody>

                            <foreach name="routes" item="route">

                            <tr class="gradeA">
                                <td><input type="text" value="{$route.listorder}"> </td>
                                <td>{$route.full_url}
                                </td>
                                <td>{$route.url}</td>
                                <td class="center">{$route.status}</td>
                                <td class="center">编辑 删除</td>
                            </tr>

                            </foreach>

                            </tbody>
                            <tfoot>
                            <tr>
                                <th>排序</th>
                                <th>完整地址</th>
                                <th>实际地址</th>
                                <th>状态</th>
                                <th>操作</th>
                            </tr>
                            </tfoot>
                        </table>
                        </div>
                    </div>

            </div>
        </div>
    </div>
</div>
</body>
</html>